﻿using System.Windows.Media;

namespace ICSharpCode.AvalonEdit.Editing
{
	/// <summary>
	/// Implements a bookmark for a line in text editor, e.g. breakpoint.
	/// </summary>
	public interface IBookmark
	{
		/// <summary>
		/// When implemented gets or sets a line number of the bookmark.
		/// </summary>
		int LineNumber { get; set; }

		/// <summary>
		/// When implemented gets or sets priority of bookmark to be displayed when there is more than one bookmark at the same location. Higher number means higher priority.
		/// </summary>
		int ZIndex { get; set; }

		/// <summary>
		/// When implemented gets or sets icon image for the bookmark.
		/// </summary>
		ImageSource Image { get; set; }
	}
}
